﻿using MediatR;
using NotifyCenter.NotificationRecords;

namespace NotifyCenter.MediatR.Etos;

/// <summary>
/// TODO: 更新状态发布此事件
/// </summary>
public class MessageSendingStatusChangedEto: INotification
{
    /// <summary>
    ///     消息状态：
    ///         入队：Pending
    ///         发送中：Sending
    ///         发送失败：Failed
    ///         发送成功：Success
    /// </summary>
    public MessageSendingStatus Type { get; set; }
    public long RecordId { get; set; }
    public string Message { get; internal set; } = "";
} 